package clue

import (
	"context"
	"git.mycaigou.com/gfyx/common/http_client"
	"git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto"
	reportDto "git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/oppty/report"
)

type ReportServiceIface interface {
	// SearchContacts 联系人
	SearchContacts(ctx context.Context, condition *reportDto.ReportOptionRequest) (*http_client.BigDataResponse, error)
	// Save 保存报备信息
	Save(ctx context.Context, params map[string]interface{}) (bool, error)
	// GetReportSourceInfo 报备来源的附带信息
	GetReportSourceInfo(ctx context.Context, sourceType, sourceId string) (map[string]interface{}, error)
	// GetMyReportList 获取我的报备信息
	GetMyReportList(ctx context.Context, requestDto *dto.ReportMyListRequestDto) (*dto.ReportMyListResponseDto, error)
	GetRegionReportList(ctx context.Context, requestDto *dto.ReportMyListRequestDto) (*dto.ReportMyListResponseDto, error)
	GetReport(ctx context.Context, reportId string) (map[string]interface{}, error)
	// GetTeamLeader 获取负责团队
	GetTeamLeader(ctx context.Context, reportId string) (map[string]interface{}, error)
	GetReportUserList(ctx context.Context) (map[string]interface{}, error)
}
